<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ page session="false"%>
<html>
<head>
<title>Home</title>
</head>
<body>
	<h1>Hello world!</h1>

	<P>The time on the server is ${serverTime}.</P>
	<table>
	<thead>Products</thead>
	<tbody>
	<c:forEach items="${products}" var="product">
		<tr>
			<td><c:out value="${product.id}"/></td>
			<td><c:out value="${product.description}"/></td>
			<td><c:out value="${product.price}"/></td>
		</tr>
	</c:forEach>
	</tbody>
	</table>
	
	<a href="<c:url value="addNewProduct.htm" />">Add New Product</a>
	<br />
	<a href="<c:url value="PriceIncrease.htm" />">Increase Price</a>
</body>
</html>
